<script setup lang="ts">
import type { Component } from 'vue'
import { NIcon } from 'naive-ui'

type PropsType = {
  component: Component
}
const props = defineProps<PropsType>()
</script>

<template>
  <NIcon :component="props.component"></NIcon>
</template>

<style lang="scss" scoped></style>
